package com.mbc.hr.entities;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name="HR_EmployeePersonal")
@NamedQueries({
	@NamedQuery(name="EmployeePersonal.findByEmployeeID",query="SELECT ep FROM EmployeePersonal ep WHERE ep.employeeID = :employeeID"),
	@NamedQuery(name="EmployeePersonal.deleteByEmployeeID",query="DELETE FROM EmployeePersonal ep WHERE ep.employeeID = :employeeID")
})
public class EmployeePersonal implements Serializable {
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private long employeePersonalID;
	private long employeeID;
	private String email;
	private String nrcNo;
	private String passport;
	private String fatherName;
	private boolean gender;
	private boolean maritalStatus;
	private Date birthDate;
	private String nationality;
	private String religion;
	private String homePhone;
	private String mobile;
	private String address;
	public String getNationality() {
		return nationality;
	}
	public void setNationality(String nationality) {
		this.nationality = nationality;
	}
	public String getReligion() {
		return religion;
	}
	public void setReligion(String religion) {
		this.religion = religion;
	}
	public long getEmployeePersonalID() {
		return employeePersonalID;
	}
	public void setEmployeePersonalID(long employeePersonalID) {
		this.employeePersonalID = employeePersonalID;
	}
	public long getEmployeeID() {
		return employeeID;
	}
	public void setEmployeeID(long employeeID) {
		this.employeeID = employeeID;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNrcNo() {
		return nrcNo;
	}
	public void setNrcNo(String nrcNo) {
		this.nrcNo = nrcNo;
	}
	public String getPassport() {
		return passport;
	}
	public void setPassport(String passport) {
		this.passport = passport;
	}
	public String getFatherName() {
		return fatherName;
	}
	public void setFatherName(String fatherName) {
		this.fatherName = fatherName;
	}
	public boolean isGender() {
		return gender;
	}
	public void setGender(boolean gender) {
		this.gender = gender;
	}
	public boolean isMaritalStatus() {
		return maritalStatus;
	}
	public void setMaritalStatus(boolean maritalStatus) {
		this.maritalStatus = maritalStatus;
	}
	public Date getBirthDate() {
		return birthDate;
	}
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
	public String getHomePhone() {
		return homePhone;
	}
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
}
